const routers = [{
    path: '/',
    meta: {
      title: '星云悬赏'
    },
    component: (resolve) => require(['./views/index.vue'], resolve)
  },
  {
    path: '/create',
    meta: {
      title: '新建悬赏'
    },
    component: (resolve) => require(['./views/create.vue'], resolve)
  },
  {
    path: '/take',
    meta: {
      title: '领取悬赏'
    },
    component: (resolve) => require(['./views/take.vue'], resolve)
  },
  {
    path: '/detail/:id',
    meta: {
      title: '悬赏详情'
    },
    component: (resolve) => require(['./views/detail.vue'], resolve)
  },
  {
    path: '/my',
    meta: {
      title: '我的悬赏'
    },
    component: (resolve) => require(['./views/my.vue'], resolve)
  },
  {
    path: '/about',
    meta: {
      title: '关于'
    },
    component: (resolve) => require(['./views/about.vue'], resolve)
}];
export default routers;
